Skip to content

added usage example for BannerAd #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dyazincahya
Copy link
Contributor

@dyazincahya dyazincahya commented Oct 25, 2024

import { BannerAdSize } from "@nativescript/firebase-admob";

// example function for layoutChanged
export function bannerLoaded(args) {
  const banner = args.object;
  const adSize = new BannerAdSize(100, 100);
  banner.size = adSize;
  banner.load();
}

rigor789 added a commit to NativeScript/firebase that referenced this pull request Nov 2, 2024
@rigor789
Copy link
Member

rigor789 commented Nov 2, 2024

Thanks for the change, this file is auto-generated from the plugins repo README, so I went ahead and applied your change to the plugin's own README here: NativeScript/firebase@7712c1b

@rigor789 rigor789 closed this in 5b88576 Nov 2, 2024
@dyazincahya dyazincahya deleted the patch-1 branch November 2, 2024 12:36
@dyazincahya dyazincahya restored the patch-1 branch November 2, 2024 12:40
@dyazincahya
Copy link
Contributor Author

Okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants